/*
 * Decompiled with CFR 0.150.
 * 
 * Could not load the following classes:
 *  de.felixroske.jfxsupport.FXMLController
 *  de.felixroske.jfxsupport.GUIState
 *  javafx.fxml.FXML
 *  javafx.fxml.Initializable
 *  javafx.scene.layout.Pane
 *  javafx.stage.Stage
 */
package com.gys.controller.salesReceipts;

import com.gys.controller.BaseController;
import com.gys.controller.dataManger.ControllerManger;
import de.felixroske.jfxsupport.FXMLController;
import de.felixroske.jfxsupport.GUIState;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.layout.Pane;
import javafx.stage.Stage;

@FXMLController
public class KeyTipController
extends BaseController
implements Initializable {
    @FXML
    private Pane keytoolPane;
    @FXML
    private Pane KeyTip;

    public void initialize(URL location, ResourceBundle resources) {
        ControllerManger.controllerMap.put(this.getClass().getSimpleName(), this);
        Stage stage = GUIState.getStage();
        this.keytoolPane.setLayoutX(stage.getX() - 300.0);
    }

    public Pane getKeytoolPane() {
        return this.keytoolPane;
    }

    public Pane getKeyTip() {
        return this.KeyTip;
    }

    public void setKeytoolPane(Pane keytoolPane) {
        this.keytoolPane = keytoolPane;
    }

    public void setKeyTip(Pane KeyTip) {
        this.KeyTip = KeyTip;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof KeyTipController)) {
            return false;
        }
        KeyTipController other = (KeyTipController)o;
        if (!other.canEqual(this)) {
            return false;
        }
        Pane this$keytoolPane = this.getKeytoolPane();
        Pane other$keytoolPane = other.getKeytoolPane();
        if (this$keytoolPane == null ? other$keytoolPane != null : !this$keytoolPane.equals(other$keytoolPane)) {
            return false;
        }
        Pane this$KeyTip = this.getKeyTip();
        Pane other$KeyTip = other.getKeyTip();
        return !(this$KeyTip == null ? other$KeyTip != null : !this$KeyTip.equals(other$KeyTip));
    }

    protected boolean canEqual(Object other) {
        return other instanceof KeyTipController;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Pane $keytoolPane = this.getKeytoolPane();
        result = result * 59 + ($keytoolPane == null ? 43 : $keytoolPane.hashCode());
        Pane $KeyTip = this.getKeyTip();
        result = result * 59 + ($KeyTip == null ? 43 : $KeyTip.hashCode());
        return result;
    }

    public String toString() {
        return "KeyTipController(keytoolPane=" + this.getKeytoolPane() + ", KeyTip=" + this.getKeyTip() + ")";
    }
}

